﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeFile="Ratings.aspx.cs" Inherits="Ratings" EnableViewState="false" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <link rel="stylesheet" href="http://code.jquery.com/ui/1.9.0/themes/base/jquery-ui.css" />
    <script type="text/javascript" src="http://code.jquery.com/ui/1.9.0/jquery-ui.js"></script>
    <script src="scripts/ratings.js" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <tr>
        <td class="center">
            <div class="all_content">
                <div class="content">
                    <div class="content-top">
                        <div class="content-bottom">
                            <div class="content-center">
                                <div class="cat_search_page">
                                    <div class="cat_search_left">
                                        <asp:Literal ID="AdvertisedCompanies" runat="server"></asp:Literal>
                                        <asp:Repeater ID="SearchResultCompanies" runat="server" OnItemDataBound="SearchResultCompanies_ItemDataBound">
                                            <ItemTemplate>
                                                <div class="comp_block">
                                                    <div class="comp_cont">
                                                        <div class="result_com_name">
                                                            <a href="singlecompany.aspx?id=<%#Eval("CompanyID") %>"><%#Eval("Name") %></a>
                                                        </div>
                                                        <div class="result_vote">
                                                            <span class="vote_img">
                                                                <div class="user_rat">
                                                                    <div class="outer-star">
                                                                        <asp:Literal ID="LitRatCalc" runat="server" />
                                                                    </div>
                                                                </div>
                                                            </span><span class="v_num">&nbsp;<%#Eval("Rating") %></span>
                                                        </div>
                                                        <div class="res_addr">
                                                            <%#Eval("Address") %>
                                                            &nbsp;&nbsp;&nbsp;<%#Eval("Website") %>
                                                        </div>
                                                        <div class="rev_det">
                                                            <span class="sum_rev"><a href="#">განხილვა(<asp:Literal ID="LitRewCount" runat="server" />)</a>
                                                            </span><span class="det_page"><a href="singlecompany.aspx?id=<%#Eval("CompanyID") %>">
                                                                დეტალური გვერდი</a> </span>
                                                        </div>
                                                    </div>
                                                    <div class="comp_res_img">
                                                        <a href="singlecompany.aspx?id=<%#Eval("CompanyID") %>">
                                                            <img src="upload/<%#String.IsNullOrEmpty((string)Eval("Logo")) ? "no-company-logo.jpg" : Eval("Logo") %>"
                                                                width="104" height="35" alt="Logo" /></a>
                                                    </div>
                                                    <div class="clear">
                                                    </div>
                                                </div>
                                            </ItemTemplate>
                                        </asp:Repeater>
                                    </div>
                                    <div class="cat_search_right">
                                        <div class="NewCmpany">
                                            <a href="NewCompany.aspx" style="color: Red; text-decoration: underline">დაამატე კომპანია
                                            </a>
                                        </div>
                                        <div class="box_title">სორტირება</div>
                                        <div class="box_content">
                                            <div class="check_block">
                                                <div class="sort_box">
                                                    <a id="MostReviewed" class="sff check" href="#">
                                                        <span id="MostReviewedSpan" runat="server" class="uncheked">&nbsp;</span> 
                                                        <span class="ch_text">ყველაზე განხილული</span>
                                                    </a>
                                                    <div class="clear">
                                                    </div>
                                                </div>
                                                <div class="sort_box">
                                                    <a id="HighRating" class="sff" href="#">
                                                        <span id="HighRatingSpan" class="uncheked">&nbsp;</span>
                                                        <span class="ch_text">მაღალ რეიტინგული</span>
                                                    </a>
                                                    <div class="clear">
                                                    </div>
                                                </div>
                                                <div class="clear">
                                                </div>
                                            </div>
                                        </div>
                                        <div class="box_title">
                                            რეიტინგები</div>
                                        <div class="box_content">
                                            <div class="sort_box sff point clearall" f="4.95">
                                                <img src="images/5stars.png" alt="100%" width="72" height="15" />
                                                <span>99%</span>
                                            </div>
                                            <div class="sort_box sff point clearall" f="4.5">
                                                <img src="images/4stars.png" alt="90%" width="72" height="15" />
                                                <span>90% და მეტი</span>
                                            </div>
                                            <div class="sort_box sff point clearall" f="3.5">
                                                <img src="images/3stars.png" alt="70%" width="72" height="15" />
                                                <span>70% და მეტი</span>
                                            </div>
                                            <div class="sort_box sff point clearall" f="2.5">
                                                <img src="images/2stars.png" alt="70%" width="72" height="15" />
                                                <span>50& - და მეტი</span>
                                            </div>
                                            <div class="sort_box sff point clearall" f="0">
                                                <img src="images/1stars.png" alt="70%" width="72" height="15" />
                                                <span>ფილტრის მოხსნა</span>
                                            </div>
                                            <div class="sort_box">
                                            </div>
                                        </div>
                                        <div class="box_title">
                                            პარამეტრები</div>
                                        <div class="box_content">
                                            <div class="sort_box">
                                                <a id="fWifi" class="sff" href="#"><span id="Span1" class="uncheked">&nbsp;</span> <span
                                                    class="ch_text">Wi-Fi</span> </a>
                                                <div class="clear">
                                                </div>
                                            </div>
                                            <div class="sort_box">
                                                <a id="fOpenAir" class="sff" href="#"><span id="Span2" class="uncheked">&nbsp;</span>
                                                    <span class="ch_text">Open Air</span> </a>
                                                <div class="clear">
                                                </div>
                                            </div>
                                        </div>
                                        <div class="box_title">
                                            ფასები</div>
                                        <div class="box_content">
                                            <div class="sort_box">
                                                <p>
                                                    <label style="display: none;" for="amount">
                                                        ფასების მასშტაბი:</label>
                                                    <input type="text" id="amount" style="border: 0; color: #f6931f; font-weight: bold;" />
                                                </p>
                                                <br />
                                                <div id="slider-range">
                                                </div>
                                                <br />
                                                <a style="display: none;" href="#">გაფილტრე</a>
                                            </div>
                                        </div>
                                        <div class="box_title">
                                            კატეგორიები</div>
                                        <div class="box_content">
                                            <div class="sort_box">
                                                <asp:Literal ID="LitFilterCats" runat="server" />
                                                <div class="clear">
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="clear">
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </td>
    </tr>
</asp:Content>
